CastSessions

public interface CastSessions implements Observable<T>, ProfileService

A service that allows observing alive cast sessions.

Since

7.29

See also

Functions

Link copied to clipboard
public abstract List<CastSession> list()
Returns the list of alive cast sessions.
Link copied to clipboard
public abstract Subscription on<E extends T>(Class<E> eventClass, Observer<E> observer)
Subscribes the given event observer to receive the events of the given eventClass.
Link copied to clipboard
public abstract Profile profile()
Returns the profile of this service.
Link copied to clipboard
public final Subscription subscribe<E extends Event>(Observer<E> observer)
public final Subscription subscribe<E extends Event>(Observer<E> observer)

Subscribes the given observer to receive events of type E from this Observable.